export const timeOptions = [
  { label: "按下单时间", value: 3 },
  { label: "按首次入库时间", value: 1 },
  { label: "按最后入库时间", value: 2 },
  { label: "按固定时间", value: 4 },
];
export const time2Options = [
  { label: "按本次入库时间", value: 3 },
  // { label: "按最后入库时间", value: 2 },
];
export const time4Options = [
  { label: "确认收货后结算", value: 5 },
  { label: "指定结算日(一个月)", value: 6 },
  { label: "指定结算日(两个月)", value: 7 },
];
export const time5Options = [
  { label: "固定结算日8号", value: 8 },
];
export const aliDateOptions = [
  { label: 7, value: 7 },
  { label: 15, value: 15 },
  { label: 30, value: 30 },
  { label: 45, value: 45 },
  { label: 60, value: 60 },
  { label: 90, value: 90 },
  { label: 120, value: 120 },
  { label: 150, value: 150 },
  { label: 180, value: 180 },
  { label: 360, value: 360 },
];

export const times = [
  { label: 15, value: 15 },
  { label: 30, value: 30 },
  { label: 45, value: 45 },
  { label: 50, value: 50 },
  { label: 60, value: 60 },
  { label: 65, value: 65 },
  { label: 75, value: 75 },
  { label: 80, value: 80 },
  { label: 85, value: 85 },
  { label: 90, value: 90 },
  { label: 95, value: 95 },
  { label: 100, value: 100 },
  { label: 110, value: 110 },
  { label: 120, value: 120 },
  { label: 150, value: 150 },
  { label: 180, value: 180 },
  { label: 360, value: 360 },
];
export const weeks = [
  { label: "无", value: 0 },
  { label: "星期一", value: 1 },
  { label: "星期二", value: 2 },
  { label: "星期三", value: 3 },
  { label: "星期四", value: 4 },
  { label: "星期五", value: 5 },
];
export const settleDaysOpt = [
  { label: "天数", value: 1 },
  { label: "自然周", value: 2 },
  { label: "自然月", value: 3 },
];
export const expectedArrivalOpt = [
  { label: "预计到货时间-扣减天数", value: 2 },
];
export const monthOpt = [
  { label: "按固定日期", value: 4 },
];
export const prepaymentOpt = [
  { label: "审核通过时间", value: 1 },
];
export const days = [...new Array(31).keys()].map((d) => ({
  label: d + 1,
  value: d + 1,
}));
